package com.world.business.belief.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.world.business.belief.domain.Belief;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.world.business.belief.domain.query.BeliefPageRequest;
import com.world.business.belief.domain.vo.BeliefVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 信仰 Mapper 接口
 * </p>
 *
 * @author 邓驴
 * @since 2023-07-31
 */
@Mapper
public interface BeliefMapper extends BaseMapper<Belief> {

    /**
     * 分页列表
     *
     * @param page    分页参数
     * @param request 请求参数
     * @return {@link IPage < BeliefVO >}
     * @author WangYX
     * @date 2023/09/05 9:37
     */
    IPage<BeliefVO> getPage(IPage<Belief> page, @Param("request") BeliefPageRequest request);

}
